<template>
  <div class="login_top">
    <div></div>
    <div>{{title}}</div>
    <div>
      <slot name="right" />
    </div>
  </div>
</template>

<script>
export default {
  props: ['title']
}
</script>

<style lang="less" scoped>
.login_top {
  height: 12.5vw;
  background-color: white;
  display: flex;
  div {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4.444vw; /* 16px /360 * 100 = vw alt+z*/
  }
}
</style>
